package com.buttons;

import com.badlogic.androidgames.framework.gl.SpriteBatcher;
import com.baseinfinityrun.Assets;

public class Menu extends Button
{

	public Menu(float x, float y, float w, float h)
	{
		super(x, y, w, h);
		this.image = Assets.menu;
	}

	@Override
	public void Draw(SpriteBatcher batcher)
	{
		batcher.beginBatch(Assets.buttons);
		batcher.drawSprite(position.x,  position.y, bounds.width, bounds.height, this.image);
		batcher.endBatch();
	}

}
